const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_userid_module",
    map: {
        userid: [[Switch, String], false, ["http", "server", "location"]],
        userid_domain: [String, "none", ["http", "server", "location"]],
        userid_expires: [[Switch, String], false, ["http", "server", "location"]],
        userid_flags: [[Switch, String], false, ["http", "server", "location"]],
        userid_mark: [[Switch, String], false, ["http", "server", "location"]],
        userid_name: [String, "uid", ["http", "server", "location"]],
        userid_p3p: [String, "none", ["http", "server", "location"]],
        userid_path: [String, "/", ["http", "server", "location"]],
        userid_service: [String, , ["http", "server", "location"]]
    }
};